Package-level declarations

Types

Link copied to clipboard
class GetBalancesResponse(val data: List<Balance>?)

Get balances response

Link copied to clipboard
class GetExchangeResponse(val data: List<Message>?)

Get exchanges response

Link copied to clipboard

Get exchanges response

Link copied to clipboard

Get offerings response

Functions

Link copied to clipboard
suspend fun createExchange(call: <Error class: unknown class>, offeringsApi: OfferingsApi, exchangesApi: ExchangesApi, callback: CreateExchangeCallback?)

Handles the submission of a Request for Quote (RFQ) through the TBDex API.

Link copied to clipboard
suspend fun getBalances(call: <Error class: unknown class>, balancesApi: BalancesApi, callback: GetBalancesCallback?, pfiDid: String)

Get balances request handler

Link copied to clipboard
suspend fun getExchange(call: <Error class: unknown class>, exchangesApi: ExchangesApi, callback: GetExchangeCallback?, pfiDid: String)

Get exchanges

Link copied to clipboard
suspend fun getExchanges(call: <Error class: unknown class>, exchangesApi: ExchangesApi, callback: GetExchangesCallback?, pfiDid: String)

Get exchanges

Link copied to clipboard
suspend fun getOfferings(call: <Error class: unknown class>, offeringsApi: OfferingsApi, callback: GetOfferingsCallback?)

Get offerings request handler

Link copied to clipboard
fun isValidUrl(replyToUrl: String): Boolean

Checks if a string is a valid URL.

Link copied to clipboard
suspend fun submitClose(call: <Error class: unknown class>, exchangesApi: ExchangesApi, callback: SubmitCloseCallback?, close: Close)

Handles the submission of a close message by parsing the incoming message, validating the submission, and executing the specified callback if provided.

Link copied to clipboard
suspend fun submitMessage(call: <Error class: unknown class>, exchangesApi: ExchangesApi, callbacks: Callbacks)

Handles the submission of a close message by parsing the incoming message, validating the submission, and executing the specified callback if provided.

Link copied to clipboard
suspend fun submitOrder(call: <Error class: unknown class>, exchangesApi: ExchangesApi, callback: SubmitOrderCallback?, order: Order)

Handles the submission of an order by parsing the incoming message, validating the submission, and executing the specified callback if provided.